package com.juyu.miliao.scheduler.domin;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.time.LocalDateTime;

/**
 * 礼物来往
 * @author wbf
 */
@Data
public class GiftSpend {
	
	/** 礼物往来id*/
	private int spendId;
	/** 礼物id*/
	private int giftId;
	/** 接收礼物用户id*/
	private int inUserId;
	/** 送出礼物用户id*/
	private int outUserId;
	/** 费用（单位：金币）*/
	private int spend;
	/** 钻石(单位：钻石)*/
	private double diamond;
	/** 数量*/
	private int num;
	/** 创建时间*/
	@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone="GMT+8")
	private LocalDateTime createTime;
	
	/**vo使用 礼物*/
	private String giftName;
	private String icon;

}
